package com.zhangliuliu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangliuliu.bean.GroupBean;
import org.apache.ibatis.annotations.Param;

public interface GroupService extends IService<GroupBean> {
    //添加小班
    void addGroup(GroupBean groupBean);
    //查看小班信息
    GroupBean find(int id);
    //修改小班信息
    void updateGroup(@Param("id") int id, @Param("leader") String leader, @Param("tell") String tell);
    //按照条件查询小班信息
    IPage<GroupBean> cutByItem(int pageNo, int pageSize, String name, Integer areaId);
}
